Rework the way in which rerooting of the path bar is done, implementing
authorMatthias Clasen <mclasen@redhat.com>
Mon, 13 Jun 2005 19:18:54 +0000 (19:18 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 13 Jun 2005 19:18:54 +0000 (19:18 +0000)
commit60113bedc9e37924f1b5dba235dcd4abf6f42d1a
tree4c6cde2eb8f056f4a0d30ce1c561bd94a79c172d
parent9962a15cbaf36b29c2a20a52faf731e913fe6715
Rework the way in which rerooting of the path bar is done, implementing

2005-06-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkpathbar.[hc]: Rework the way in which rerooting of the
path bar is done, implementing the following principles:
(#137289, patch by Benjamin Otte)

1. Re-root only if $HOME is an ancestor of the current path.

2. When re-rooting, make sure the Left arrow appears in the path
bar, so that you can navigate up from $HOME to /.  In that case,
make sure the Right arrow doesn't appear if the sub-hierarchy from
$HOME to the cwd fits in the window.

3. Make sure that hitting Alt-Up takes you always one folder up,
even when the path bar is re-rooted.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gtk/gtkpathbar.c
gtk/gtkpathbar.h